package com.atguigu.gmall.common.model;

import lombok.Data;
import org.springframework.amqp.rabbit.connection.CorrelationData;

@Data
public class GmallCorrelationData extends CorrelationData {


    //交换机
    private String exchange;
    //路由
    private String routingKey;

    //消息本地
    private Object message;
    //重试次数
    private int retryCount=0;
    //是否延迟
    private boolean isDelay=false;

    //延迟时间
    private int delayTime=10;




}
